package com.dream.inspect.modules.business.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.dream.inspect.modules.business.entity.SuperviseImageEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 督察照片表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-06-16 17:04:54
 */
public interface SuperviseImageDao extends BaseMapper<SuperviseImageEntity> {
    
    List<SuperviseImageEntity> findSuperviseImageList(@Param("ew") Wrapper<SuperviseImageEntity> wrapper);
    List<SuperviseImageEntity> findSuperviseImageListByWeb(@Param("ew") Wrapper<SuperviseImageEntity> wrapper);
    void insertImageList(@Param("list") List<SuperviseImageEntity> list);
    List<SuperviseImageEntity> getImageListByWid(@Param("id") String id);
    List<SuperviseImageEntity> findImageList(@Param("id") String id, @Param("type") String picType);

}
